package io.iamting93.code.dao;

import io.iamting93.code.pojo.AuthCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author boting.guo
 * @date 2021/12/5 17:13
 */

@Mapper
public interface AuthCodeDao {

	void insertAuthCode(@Param("authCode")AuthCode authCode);

	AuthCode getAuthCode(@Param("email") String email);

	AuthCode getAuthCodeByCode(@Param("code") String code);
}
